<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateMasterProductionScheduleDailyEntityTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.CreateMasterProductionScheduleDailyEntityLabel_dayofProduction}" for="dayofProduction" />
                    <h:inputText id="dayofProduction" value="#{masterProductionScheduleDailyEntityController.selected.dayofProduction}" title="#{bundle.CreateMasterProductionScheduleDailyEntityTitle_dayofProduction}" />
                    <h:outputLabel value="#{bundle.CreateMasterProductionScheduleDailyEntityLabel_mpsMonthly}" for="mpsMonthly" />
                    <h:selectOneMenu id="mpsMonthly" value="#{masterProductionScheduleDailyEntityController.selected.mpsMonthly}" title="#{bundle.CreateMasterProductionScheduleDailyEntityTitle_mpsMonthly}" >
                        <f:selectItems value="#{masterProductionScheduleMonthlyEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.CreateMasterProductionScheduleDailyEntityLabel_yearOfProduction}" for="yearOfProduction" />
                    <h:inputText id="yearOfProduction" value="#{masterProductionScheduleDailyEntityController.selected.yearOfProduction}" title="#{bundle.CreateMasterProductionScheduleDailyEntityTitle_yearOfProduction}" />
                    <h:outputLabel value="#{bundle.CreateMasterProductionScheduleDailyEntityLabel_id}" for="id" />
                    <h:inputText id="id" value="#{masterProductionScheduleDailyEntityController.selected.id}" title="#{bundle.CreateMasterProductionScheduleDailyEntityTitle_id}" />
                    <h:outputLabel value="#{bundle.CreateMasterProductionScheduleDailyEntityLabel_createdAt}" for="createdAt" />
                    <h:inputText id="createdAt" value="#{masterProductionScheduleDailyEntityController.selected.createdAt}" title="#{bundle.CreateMasterProductionScheduleDailyEntityTitle_createdAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.CreateMasterProductionScheduleDailyEntityLabel_createdBy}" for="createdBy" />
                    <h:inputText id="createdBy" value="#{masterProductionScheduleDailyEntityController.selected.createdBy}" title="#{bundle.CreateMasterProductionScheduleDailyEntityTitle_createdBy}" />
                    <h:outputLabel value="#{bundle.CreateMasterProductionScheduleDailyEntityLabel_lastModifiedAt}" for="lastModifiedAt" />
                    <h:inputText id="lastModifiedAt" value="#{masterProductionScheduleDailyEntityController.selected.lastModifiedAt}" title="#{bundle.CreateMasterProductionScheduleDailyEntityTitle_lastModifiedAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.CreateMasterProductionScheduleDailyEntityLabel_lastModifiedBy}" for="lastModifiedBy" />
                    <h:inputText id="lastModifiedBy" value="#{masterProductionScheduleDailyEntityController.selected.lastModifiedBy}" title="#{bundle.CreateMasterProductionScheduleDailyEntityTitle_lastModifiedBy}" />
                </h:panelGrid>
                <br />
                <h:commandLink action="#{masterProductionScheduleDailyEntityController.create}" value="#{bundle.CreateMasterProductionScheduleDailyEntitySaveLink}" />
                <br />
                <br />
                <h:commandLink action="#{masterProductionScheduleDailyEntityController.prepareList}" value="#{bundle.CreateMasterProductionScheduleDailyEntityShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.CreateMasterProductionScheduleDailyEntityIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
